Skip to main content

getGlobal

Returns the global object for the current context.

Please note, that for the .docbuilder file the CDocBuilderContext.getGlobal method is not used.

Syntax

CDocBuilderValue getGlobal();

Example

Java

CDocBuilder.initialize("");
CDocBuilder builder = new CDocBuilder();
CDocBuilderContext context = builder.getContext();
CDocBuilderValue global = context.getGlobal();
CDocBuilder.dispose();